import 'package:json_annotation/json_annotation.dart';
part 'app_banner_model.g.dart';

@JsonSerializable()
class AppBannerModel {
  String language;
  String platform;
  String image;
  String websiteLink;
  int bannerType;
  int websiteType;
  int websiteUseType;
  int sequence;

  factory AppBannerModel.fromJson(Map<String, dynamic> json) =>
      _$AppBannerModelFromJson(json);
  Map<String, dynamic> toJson() => _$AppBannerModelToJson(this);

  AppBannerModel({
    this.language, 
    this.platform,
    this.image,
    this.websiteLink,
    this.bannerType,
    this.websiteType,
    this.websiteUseType,
    this.sequence,
  });
}
